package com.atguigu.g_file;

import java.io.File;

public class Demo3 {
    public static void main(String[] args) {
        File file = new File("C:\\Users\\WH-HKB\\Desktop\\temp");

        System.out.println("file.getName() = " + file.getName());

        System.out.println("file.length() = " + file.length());//8192
    }
}
